
<!-- saved from url=(0098)file:///C:/Users/lc072/Desktop/Git/1%E3%80%81GIT%E7%9A%84%E5%B7%A5%E4%BD%9C%E5%8E%9F%E7%90%86.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>1、GIT的工作原理</title>
  <basefont face="微软雅黑" size="2">
  
  <meta name="exporter-version" content="Evernote Windows/307027 (zh-CN, DDL); Windows/10.0.0 (Win64);">
  <style>
    body, td {
      font-family: 微软雅黑;
      font-size: 10pt;
    }
  </style>
</head>
<body>
<a name="865">
<h1>1、GIT的工作原理</h1>

</a><div><a name="865">
<span></span></a><div><a name="865"><div><img src="./1、GIT的工作原理_files/Image.png" type="image/png" data-filename="Image.png"></div><h1>2、GIT使用的好习惯</h1><div><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">A、每天都要坚持将项目成果推到（push）服务器</span></div><div><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">B、在修改文件之前，要先将该文件拉到（pull）本地，使文件保持最新的状态</span></div><div><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">C、团队成员不能共用同一个分支，尽量不要使用master分支，master分支主要用于分支合并</span></div><div><br></div><div><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">3、将项目上传到GIT服务器</span></div><div><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">A、在GIT服务器创建项目</span></div><div><img src="./1、GIT的工作原理_files/Image [1].png" type="image/png" data-filename="Image.png"></div><div><img src="./1、GIT的工作原理_files/Image [2].png" type="image/png" data-filename="Image.png" width="517"></div><div><img src="./1、GIT的工作原理_files/Image [3].png" type="image/png" data-filename="Image.png" width="660"></div><div><span style="font-family: 宋体; font-size: 24px;">B、在Eclipse JavaEE中克隆该项目</span></div><div><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">如果有必要，安装git</span></div></a><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><a name="865"></a><a href="https://git-scm.com/download/win" style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">https://git-scm.com/download/win</a></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">显示Git Repositories视图</span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [4].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: 宋体;">选择“克隆到本地Git仓库并显示在视图中”按钮</span><br></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [5].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><span style="font-family: 宋体; font-size: 18pt;">填充Git项目信息</span><br></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [6].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">选择要克隆的分支</span><br></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [7].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">选择项目的目标位置</span><br></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [8].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;"></span><span style="font-size: 24px; font-family: 宋体;"><img src="file:///GIT_files/Image%20%5B7%5D.png"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; font-family: 宋体;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">拉取后显示在列表中</span><br></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [9].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><span style="font-size: 24px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">C、将工程共享到项目中</span></div></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">选择“Share Project”命令菜单</span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><img src="./1、GIT的工作原理_files/Image [10].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;"><span style="font-size: 24px; font-family: 宋体;"><img src="file:///GIT_files/Image%20%5B8%5D.png"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; font-family: 宋体;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">将指定的工程共享到指定的仓库中</span><br></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [11].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">此时，工程已经添加到了本地仓库</span><br></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [12].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">D、提交工程到GIT服务器</span></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><span style="font-size: 24px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">常用的菜单命令</span></div></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [13].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div><div><span style="font-size: 24px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">提交修改的内容</span></div><div><img src="./1、GIT的工作原理_files/Image [14].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;"></div><div><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">4、创建分支</span></div><div><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">选择创建分支的菜单命令</span></div><div><img src="./1、GIT的工作原理_files/Image [15].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;"></div><div><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">输入分支名称（尽量不要写中文）</span></div></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [16].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">已在本地创建了新的分支lcp</span><br></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><img src="./1、GIT的工作原理_files/Image [17].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;"></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">将lcp分支推送到git服务器</span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><img src="./1、GIT的工作原理_files/Image [18].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;"><span style="font-size: 24px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;"><img src="file:///GIT_files/Image%20%5B15%5D.png" style="cursor: default;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [19].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;"></span><span style="font-size: 24px; font-family: 宋体;"></span></div></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; font-family: 宋体;">git服务上查看分支</span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [20].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;" width="961"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">5、拉项目到本地</span></span></div><div style="text-align: start;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">A、将用户设置为项目的开发人员</span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">进入项目，选择管理：</span><span style="font-size: 24px;"><br></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [21].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;" width="791"></span><span style="font-size: 24px; font-family: 宋体;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; font-family: 宋体;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">添加新的项目成员</span><br></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [22].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;"></span><span style="font-size: 24px; font-family: 宋体;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: 宋体;">B、从GIT服务器拉取工程</span><br></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">选择“File-&gt;import-&gt;Git-&gt;Projects from Git”</span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [23].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;"></span><span style="font-size: 24px; font-family: 宋体;"><img src="file:///GIT_files/Image%20%5B26%5D.png"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><span style="font-size: 24px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;"><img src="./1、GIT的工作原理_files/Image [24].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><span style="font-size: 24px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;"><img src="./1、GIT的工作原理_files/Image [25].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><span style="font-size: 24px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;"><img src="./1、GIT的工作原理_files/Image [26].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">选择要拉取的分支</span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [27].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><span style="font-size: 24px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;"><img src="./1、GIT的工作原理_files/Image [28].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;"><img src="./1、GIT的工作原理_files/Image [29].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [30].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: 宋体;">C、提交代码</span><span style="font-family: 宋体;"></span><br></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [31].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: 宋体;">6、合并分支（假设将lcp分支合并到master分支）</span><br></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(0, 0, 0); font-family: 宋体; font-variant-caps: normal; font-variant-ligatures: normal;">A、右击lcp分支</span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [32].png" type="image/png" data-filename="Image.png" style="font-family: 宋体; font-size: 18pt;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: 宋体;">选择目标分支master</span><br></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-size: 24px;"><img src="./1、GIT的工作原理_files/Image [33].png" type="image/png" data-filename="Image.png" style="font-size: 18pt; font-family: 宋体;"></span><span style="font-size: 24px; font-family: 宋体;"></span></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-size: 24px; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div><br></div><div><br></div></div><div><br></div>
</div></body></html>